package com.ruoyi.bizsys.mapper;

import java.util.List;

import com.ruoyi.bizsys.domain.ApplyAppData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * App数据池Mapper接口
 *
 * @author african-loan
 * @date 2021-12-30
 */
public interface ApplyAppDataMapper extends BaseMapper<ApplyAppData>{

    List<String> getByIds(@Param("ids")String ids);

    void saveBatch(@Param("appDataList")List<ApplyAppData> appDataList);

    String getIdsByMd5(List<ApplyAppData> appDataList);

    //申请设备含贷款指引关键字APP个数
    int deviceKeywordByLoanGuideline(@Param("ids")List<Integer> ids);

    //申请设备含坏信用关键字APP个数
    int deviceKeywordByBarCredit(@Param("ids")List<Integer> ids);
}
